#ifndef HTTP_REQUEST_HEADER_HPP
#define HTTP_REQUEST_HEADER_HPP

#include <string>
#include <vector>

struct header
{
  std::string name;
  std::string value;
};

struct request
{
  /// The request method, e.g. "GET", "POST".
  std::string method;

  /// The requested URI, such as a path to a file.
  std::string uri;

  ///Host of request
  std::string host;

  /// Major version number, usually 1.
  int http_version_major;

  /// Minor version number, usually 0 or 1.
  int http_version_minor;

  /// The headers included with the request.
  std::vector<header> headers;

  /// The optional content sent with the request.
  std::string content;
};

#endif